package com.qianli.user;

import com.qianli.user.ro.account.UserAccessRO;

/**
 * name:用户请求头
 * auth:ting.li@qianli-inc.com
 * date:2018/1/4 20:50
 * version: v1.0.0
 **/
public class UserHeadRequest {

    private static ThreadLocal<UserAccessRO> threadLocal = new ThreadLocal<UserAccessRO>();

    public static UserAccessRO getThreadLocal(){
        return threadLocal.get();
    }

    public static void setThreadLocal(UserAccessRO userAccessRO){
        threadLocal.set(userAccessRO);
    }
}
